﻿package physic
{
	import flash.display.DisplayObject;
	import flash.geom.Point;
	
	public class Reaction extends Point
	{
		public var display1:DisplayObject;
		public var display2:DisplayObject;
		
		public function Reaction( _display1:DisplayObject, _display2:DisplayObject, p:Point )
		{
			display1 = _display1;
			display2 = _display2;
			x = p.x;
			y = p.y;
		}
		override public function toString():String
		{
			return "Reaction " + x + ", " + y + " de " + display1 + " sur " + display2;
		}	
	}	
}